package org.springblade.modules.repair.vo.statistics.by;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Date 11:41 2022/11/29
 * @Description {
 *    保养统计页面工单状态详情
 * }
 * @Author lsay
 **/
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CheckStatisticsSignCountVO extends CheckStatisticsSignDetailVO {

	/**
	 * 表格首列 组名或人名
	 */
	private String label;

	/**
	 * 正常
	 */
	private Long signNormal;

	/**
	 * 系统签退
	 */
	private Long systemSign;

	/**
	 * 签到异常
	 */
	private Long signError;

	/**
	 * 签退异常
	 */
	private Long signOutError;

	public CheckStatisticsSignCountVO(String label) {
		this.label = label;
		this.signNormal = 0L;
		this.systemSign = 0L;
		this.signError = 0L;
		this.signOutError = 0L;
		this.setSignNormalPer(BigDecimal.valueOf(0.0));
		this.setSystemSignPer(BigDecimal.valueOf(0.0));
		this.setSignErrorPer(BigDecimal.valueOf(0.0));
		this.setSignOutErrorPer(BigDecimal.valueOf(0.0));
	}
}
